<?php
class book extends  commodity
{
    public $name;
    public $author;
    public $press;
    function self_1()
    {
        echo "这本书叫:".$this->name."，作者是".$this->author."，由".$this->press."出版社出版<br>";
    }

}